﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClientApp.UtilClasses
{
    class GeneralHelperFunctions
    {
        public static string ParentDirectoryNameExtractor()
        {
            string[] pathArray = Directory.GetParent("./").ToString().Split('\\');
            int lenfth = pathArray.Length;
            return pathArray[lenfth - 1];
        }

    }
}
